<template>
  <div v-if="$route.meta.Nav !== false">
    <el-menu
        :default-active="$route.path"
        class="el-menu-vertical"
        router
    >
      <el-submenu index="2">
        <template slot="title">
          <span>企业管理</span>
        </template>
        <el-menu-item index="/newCompany">
          <span slot="title">企业管理</span>
        </el-menu-item>
        <el-menu-item index="/business">
          <span slot="title">业务类型</span>
        </el-menu-item>
        <el-menu-item index="/dataTab">
          <span slot="title">数据管理</span>
        </el-menu-item>
      </el-submenu>
      <el-menu-item index="/user/UserSave">
        <span slot="title">用户权限管理</span>
      </el-menu-item>
      <el-menu-item index="/bill">
        <span slot="title">智能水电</span>
      </el-menu-item>

      <el-submenu index="5">
        <template slot="title">
          <span>环境监测</span>
        </template>
        <el-menu-item index="/waterPage">水质</el-menu-item>
        <el-menu-item index="/SoilData">土质</el-menu-item>
      </el-submenu>

      <el-menu-item index="/barrier">
        <span slot="title">车位道闸</span>
      </el-menu-item>
      <el-menu-item index="/cameraList">
        <span slot="title">视频监控</span>
      </el-menu-item>
      <el-menu-item index="/screen">
        <span slot="title">大屏入口</span>
      </el-menu-item>
      <el-menu-item index="/announcement">
        <span slot="title">公告</span>
      </el-menu-item>
      <el-submenu index="99">
        <template slot="title">
          <span>留言板管理</span>
        </template>
        <el-menu-item index="/board">
          <span slot="title">游客留言板</span>
        </el-menu-item>
        <el-menu-item index="/boardManagement">
          <span slot="title">留言管理</span>
        </el-menu-item>
      </el-submenu>

      <el-menu-item index="/optimizedVersion">
        <span slot="title">版本控制</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>


export default {
  methods: {}
}
</script>

<style scoped>
</style>